package cn.darkhorse.device.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 设备类型表
 * </p>
 *
 * @author yuan jun
 * @since 2022-11-10
 */
@Getter
@Setter
  @TableName("mes_device_type")
@ApiModel(value = "MesDeviceType对象", description = "设备类型表")
public class MesDeviceType implements Serializable, TransPojo {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("编码")
      private String code;

      @ApiModelProperty("创建人")
      private Long creator;

      @ApiModelProperty("创建时间")
      private LocalDateTime gmtCreate;

      @ApiModelProperty("修改时间")
      private LocalDateTime gmtModify;

      @ApiModelProperty("类型名称")
      private String typeName;

      @ApiModelProperty("参数类型0:预置1:手动添加")
      private Integer category;

      @ApiModelProperty("上级分类0:无组织1:有组织2:除尘及生产设备")
      private Integer parentType;
}
